package com.yand.optimization.ifelse.way4;

import com.yand.optimization.ifelse.way2.RoleOperation;

public class RoleContext {

    private RoleOperation operation;


    public RoleContext(RoleOperation operation){
        this.operation = operation;
    }


    public String execute(){
        return operation.op();
    }

}
